<template>
  <sub-menu>
    <query-operate-depart :getPageComponents="viewGetPageComponents" :windowHeight="viewWindowHeight" ref="QueryOperateDepart"/>
    <table-operate-depart :getPageComponents="viewGetPageComponents" :windowHeight="viewWindowHeight" ref="TableOperateDepart"/>
    <detail-operate-depart :getPageComponents="viewGetPageComponents" :windowHeight="viewWindowHeight" ref="DetailOperateDepart"/>
    <detail-operate-depart-store :getPageComponents="viewGetPageComponents" :windowHeight="viewWindowHeight" ref="DetailOperateDepartStore"/>
    <detail-operate-depart-store-item :getPageComponents="viewGetPageComponents" :windowHeight="viewWindowHeight" ref="DetailOperateDepartStoreItem"/>
    <detail-operate-depart-driver-track :getPageComponents="viewGetPageComponents" :windowHeight="viewWindowHeight" ref="DetailOperateDepartDriverTrack"/>
    <detail-operate-depart-stockout :getPageComponents="viewGetPageComponents" :windowHeight="viewWindowHeight" ref="DetailOperateDepartStockout"/>
    <detail-operate-depart-stockout-detail :getPageComponents="viewGetPageComponents" :windowHeight="viewWindowHeight" ref="DetailOperateDepartStockoutDetail"/>
    <print-operate-depart :getPageComponents="viewGetPageComponents" :windowHeight="viewWindowHeight" ref="PrintOperateDepart"/>
  </sub-menu>
</template>

<script>
  import QueryOperateDepart from './QueryOperateDepart';
  import TableOperateDepart from './TableOperateDepart';
  import DetailOperateDepart from './DetailOperateDepart';
  import DetailOperateDepartDriverTrack from './DetailOperateDepartDriverTrack';
  import DetailOperateDepartStockout from './DetailOperateDepartStockout';
  import DetailOperateDepartStockoutDetail from './DetailOperateDepartStockoutDetail';
  import DetailOperateDepartStore from './DetailOperateDepartStore';
  import DetailOperateDepartStoreItem from './DetailOperateDepartStoreItem';
  import PrintOperateDepart from './PrintOperateDepart';
  import mainMixin from '@/share/mixin/main.mixin';

  export default {
    name: 'Main',
    components: {
      'query-operate-depart': QueryOperateDepart,
      'table-operate-depart': TableOperateDepart,
      'detail-operate-depart': DetailOperateDepart,
      'detail-operate-depart-store': DetailOperateDepartStore,
      'detail-operate-depart-store-item': DetailOperateDepartStoreItem,
      'detail-operate-depart-driver-track': DetailOperateDepartDriverTrack,
      'detail-operate-depart-stockout': DetailOperateDepartStockout,
      'detail-operate-depart-stockout-detail': DetailOperateDepartStockoutDetail,
      'print-operate-depart': PrintOperateDepart
    },
    mixins: [mainMixin],
    created() {
      documentTitle('场地 - 发车');
    }
  };
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
</style>
